package Try;

import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int a = scanner.nextInt();
            for (int i = 1; i<=a; i++)
            {
                for (int j = 1; j<=a; j++)
                {
                    if(i==j||i+j==a+1)
                        System.out.printf("*");
                    else
                    {
                        System.out.printf(" ");
                    }
                }
                System.out.println();
            }
        }

    }
}
